package com.itheima.builder.demo2.after;

/**
 * @author zzw
 * @date 2025/9/27
 * @description 测试类(重构后)
 */
public class Client {
    public static void main(String[] args) {
        Phone phone = new Phone.Builder()
                .cpu("intel")
                .mainBoard("华硕")
                .memory("金士顿")
                .screen("三星")
                .build();
        System.out.println(phone);
    }
}